package file;

import java.io.File;

public class MkdirDemo {
    public static void main(String[] args) {
       File dir=new File("./怒");
       if (dir.exists()){
           System.out.println("已存在");
       }else {
           dir.mkdirs();
           System.out.println("创建完毕");
       }
    }
}
